create
Create a new scene, along with its own camera.
Return
a handle to the empty scene.
Parameters
scene Layout
the desired layout of the scene.
abstract fun create(designUnit: DesignUnit, fontSizeUnit: FontUnit? = null, sceneLayout: SceneLayout = SceneLayout.FREE): DesignBlock
Create a new scene with explicit design and font-size units.
When fontSizeUnit is null it is paired with designUnit: a Pixel design unit yields a Pixel font-size unit, and any other design unit yields a Point font-size unit.
Return
a handle to the empty scene.
Parameters
design Unit
the design unit of the new scene.
font Size Unit
the unit interpreted by BlockApi.setTextFontSize / BlockApi.getTextFontSizes; when null, paired automatically with designUnit.
scene Layout
the desired layout of the scene.